import pygame
import yaml
import sqlite3

with open('D:\work_dir\gameProjects\PyGame\config\config_default.yaml', 'r', encoding='utf-8') as file:
    CONFIG = yaml.safe_load(file)

# 初始化Pygame
pygame.init()
pygame.font.init()
FONT = pygame.font.SysFont("方正粗黑宋简体", 36)
# 颜色
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)

# 创建窗口
SCREEN = pygame.display.set_mode((CONFIG['screen']['width'], CONFIG['screen']['height']))

me_id = 0

CONN = sqlite3.connect('local.db')
